//
//  ATAppDelegate.h
//  AutomationTool
//
//  Created by Laurie Marmon on 2/26/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "ATScriptStepEditorView.h"

@interface ATAppDelegate : NSObject <NSApplicationDelegate, ATScriptStepEditorViewDelegate, NSTableViewDelegate>

@property (assign) IBOutlet NSWindow *window;
@property (weak) IBOutlet NSTextField *sourceField;
@property (weak) IBOutlet NSTextField *destinationField;
@property (weak) IBOutlet ATScriptStepEditorView *editorView;
@property (weak) IBOutlet NSTableView *templateTableView;
@property (weak) IBOutlet NSTableView *scriptStepTableView;
@property (weak) IBOutlet NSTableView *scriptsTableView;
@property (unsafe_unretained) IBOutlet NSWindow *executePanel;
@property (weak) IBOutlet NSTextField *applicationField;
@property (weak) IBOutlet NSTextField *scriptField;


- (IBAction)moveScriptStepUp:(id)sender;
- (IBAction)moveScriptStepDown:(id)sender;
- (IBAction)close:(id)sender;
- (IBAction)browse:(id)sender;
- (IBAction)save:(id)sender;
- (IBAction)open:(id)sender;
- (IBAction)exportJavaScriptForCurrentScript:(id)sender;
- (IBAction)deleteRow:(id)sender;
- (IBAction)newScript:(id)sender;
- (IBAction)exportJavaScriptForScriptSuite:(id)sender;
- (IBAction)generateJavaScript:(id)sender;
- (IBAction)showCustomSheet:(id)sender;


@end
